package com.mlnx.device.dao.mongodb;

import com.mlnx.device.pojo.dto.DeviceStateRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * Created by amanda.shan on 2019/11/26.
 */
public interface DeviceStateDao {

    void init();

    void save(DeviceStateRecord deviceStateRecord);

    List<DeviceStateRecord> selectOnOffLine(Date startTime, Date endTime, Integer patientId);

    List<DeviceStateRecord> selectEcgEvents(Date startTime, Date endTime, Integer patientId);
}
